<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Destroy a message queue</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.msg-remove-queue" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">msg_remove_queue</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.3.0, PHP 5, PHP 7)</p><p class="refpurpose"><span class="refname">msg_remove_queue</span> &mdash; <span class="dc-title">Destroy a message queue</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.msg-remove-queue-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>msg_remove_queue</strong></span>
    ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$queue</code></span>
   ) : <span class="type">bool</span></div>

  <p class="para rdfs-comment">
   <span class="function"><strong>msg_remove_queue()</strong></span> destroys the message queue specified
   by the <code class="parameter">queue</code>.  Only use this function when all
   processes have finished working with the message queue and you need to
   release the system resources held by it.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.msg-remove-queue-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<code class="parameter">queue</code></dt>

     <dd>

      <p class="para">
       Message queue resource handle
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.msg-remove-queue-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   成功时返回 <strong><code>TRUE</code></strong>， 或者在失败时返回 <strong><code>FALSE</code></strong>。
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.msg-remove-queue-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="msg_get_queue.html" class="function" rel="rdfs-seeAlso">msg_get_queue()</a> - Create or attach to a message queue</span></li>
    <li class="member"><span class="function"><a href="msg_receive.html" class="function" rel="rdfs-seeAlso">msg_receive()</a> - Receive a message from a message queue</span></li>
    <li class="member"><span class="function"><a href="msg_stat_queue.html" class="function" rel="rdfs-seeAlso">msg_stat_queue()</a> - Returns information from the message queue data structure</span></li>
    <li class="member"><span class="function"><a href="msg_set_queue.html" class="function" rel="rdfs-seeAlso">msg_set_queue()</a> - Set information in the message queue data structure</span></li>
   </ul>
  </p>
 </div>
  

</div></div></div></body></html>